<?php

namespace app\admin\controller;


use app\admin\model\LoginLogModel;
use think\Request;

class LoginLog extends Base
{
    /**
     * 登录日志页面
     * @return \think\response\View
     */
    public function index()
    {
        return view('loginLog/index');
    }

    /**
     * 登录日志页面
     * @param Request $request
     * @return \think\response\Json
     */
    public function lists(Request $request)
    {
        return LoginLogModel::lists($request->param());
    }
}
